#ifndef TOTAL_H
#define TOTAL_H
#define MAX 100
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>

typedef struct{
    int top;
    int data[MAX];
} numStack;

typedef struct{
    int top;
    char data[MAX];
} signStack;

void initNumStack (numStack *s);

void initSignStack (signStack *s);

void pushSign (signStack *s, char c);

void popSign (signStack *s);

int stackEmpty (numStack *s);

int checkExpression (char *expr);

int isOperator (char c);

#endif //TOTAL_H
